<%@ Title="" %>
  
<com:TContent ID="Main" >
<com:TClientScript ID="TClientScript1" >

    function genericMSG(msg)
    {

		 alert(msg);
	}
</com:TClientScript>

<com:TPanel ID="navigatedUserCntBook"  >
<ul id="tab_Menu" class="tabBoxes">
	<li id="profile_tap" class="" view="Profile">
		<com:THyperLink Text="Profile" CssClass="tab_link"
    	NavigateUrl="<%= $this->Service->constructUrl('users.ProfileUser',array('id' => $this->id)) %>"
    	Visible="<%= !$this->User->IsGuest %>" /></li>
	<li id="friend_tap" class="">
		<com:THyperLink Text="Friends" CssClass="tab_link"
    	NavigateUrl="<%=  $this->Service->constructUrl('users.FriendsUser',array('id' => $this->id))  %>"
    	Visible="<%= !$this->User->IsGuest %>" /></li>
     <li id="books_tap" class=""><com:THyperLink Text="My Books" CssClass="tab_link"
    NavigateUrl="<%=  $this->Service->constructUrl('users.BooksUser',array('id' => $this->id))  %>"
    Visible="<%= !$this->User->IsGuest %>" /></li>
	<li id="image_tap" class="selected"><com:THyperLink Text="Images" CssClass="tab_link"
    NavigateUrl="<%=  $this->Service->constructUrl('users.ImageContainer',array('id' => $this->id))  %>"
    Visible="<%= !$this->User->IsGuest %>" />
	</li>
</ul>
</com:TPanel>
<div id = "mainTopic">
<h1 class = "content"><%=$this->getCurrentRecord()->username %>'s Images   (<%=$this->Repeater_imageItem->VirtualItemCount %>)</h1> 
</div>
<com:TPanel ID="uploadPanel" >
    <div class = "transparentBox"> 
        <div class="commentBoxContainer">
            <div class="commentBoxInformation">
                        <h2 class = "content">Select an image file on your computer.</h2>
            </div>
            <div class="commentBox_Area">
                <span align="center">
                    <com:TFileUpload OnFileUpload="fileUploaded" CssClass = "txtUserStatus"/> 
                    &nbsp;&nbsp;<com:TButton CssClass="common_btn" Text="Upload"  />
                </span>
            </div>
        </div>
    </div>
</com:TPanel>
<div class = "transparentBox">  
	<div class = "photoTable">
		<com:TRepeater ID="Repeater_imageItem"
    		ItemRenderer="Application.pages.users.ImageItemRenderer"
    		AllowPaging="true"
    		AllowCustomPaging="true"
    		PageSize="15"    />
	</div>
</div>
<com:TPager ControlToPaginate="Repeater_imageItem" OnPageIndexChanged="pageChanged_ImageCnt" />
</com:TContent>
